An application of a four-way framework for validating a specification: Animating an Object-Z specification using Prolog
نویسندگان
چکیده
A great deal of the benefits of formal methods stems from their ability to rigorously and precisely specify, at an initial stage, the requirements of the system being developed. Errors in requirements are detected and eliminated earlier and important properties of the system can be formally established thereby, allowing the analysis of the behaviour of the system before the design. These benefits come at two significant prices: firstly, due to its rigour and the level of details, the specification process is a difficult and costly exercise. Secondarily, a formal specification becomes exploitable when it is carefully validated. The search for appropriate validation guidelines, frameworks, methods and techniques is a continuous endeavour of researchers especially with techniques such as Object-Z for which tool support are still very scarce. This paper follows a 4-way framework for validating a specification, to validate an Object-Z specification. During the validation, a mechanism is proposed to translate the specification into Prolog facilitating its animation. A case study is used to illustrate the approach. Keywords—Formal Specification, Specification validation, 4way framework, Object-Z, Animation, Prolog.
منابع مشابه
An Animation Tool for Supporting Specification-Based Software Architectures
One of the important issues in supporting specification-based software architectures is how to verify that formal specifications of a software system satisfy liveness, safety and timing constraints, and are consistent and complete with regard to user requirements. Animation has been proposed as one of the techniques for achieving this goal. This article presents a practical approach and a tool ...
متن کاملAn Approach to Animating Model-based Object-oriented Formal Speciications
| One of the important issues in the application of formal notations in software development is the validation of formal speciications against the informal customer requirements. Animation has been proposed as one of the techniques for achieving this goal. This paper describes an approach to animating object-oriented model-based formal speciications as well as a research prototype of an animati...
متن کاملTesting the Satisfiability of Z Formal Specifications by Using Prolog
Formal specifications are now being used as a basis for communication, design, testing and verification of a software product. For a formal specification to be used effectively, it must be valid, which means that it must be well-formed and reflects the user requirements. The normal technique for validating a formal specification is by using formal reasoning. However, the use of formal reasoning...
متن کاملWeb Service Choreography Verification Using Z Formal Specification
Web Service Choreography Description Language (WS-CDL) describes and orchestrates the services interactions among multiple participants. WS-CDL verification is essential since the interactions would lead to mismatches. Existing works verify the messages ordering, the flow of messages, and the expected results from collaborations. In this paper, we present a Z specification of WS-CDL. Besides ve...
متن کاملEstablishing an Argument-Based Validity Approach for a Low-Stake Test of Collocational Behavior
Most of the validation studies conducted across varying test application contexts are usually framed within the traditional conceptualization of validity and therefore lack a comprehensive framework to focus on test score interpretations and test score use. This study aimed at developing and validating a collocational behavior test (CBT), drawing on Kane's argument-based approach to validity. F...
متن کامل